package org.training.person.mason.entities;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

public class Contact implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2646810931343425621L;
	@PrimaryKey
	@Persistent(valueStrategy=IdGeneratorStrategy.IDENTITY)
	private Key contactId;
	@Persistent
	private String contactType;
	@Persistent
	private String contactInfo;
	@Persistent
	private Boolean usagable;
	
	/**
	 * 
	 */
	public Contact() {
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param contactType
	 * @param contactInfo
	 */
	public Contact(String contactType, String contactInfo) {
		super();
		this.contactType = contactType;
		this.contactInfo = contactInfo;
	}

	/**
	 * @return the contactId
	 */
	public Key getContactId() {
		return contactId;
	}

	/**
	 * @return the contactType
	 */
	public String getContactType() {
		return contactType;
	}

	/**
	 * @param contactType the contactType to set
	 */
	public void setContactType(String contactType) {
		this.contactType = contactType;
	}

	/**
	 * @return the contactInfo
	 */
	public String getContactInfo() {
		return contactInfo;
	}

	/**
	 * @param contactInfo the contactInfo to set
	 */
	public void setContactInfo(String contactInfo) {
		this.contactInfo = contactInfo;
	}

	/**
	 * @return the usagable
	 */
	public Boolean getUsagable() {
		return usagable;
	}

	/**
	 * @param usagable the usagable to set
	 */
	public void setUsagable(Boolean usagable) {
		this.usagable = usagable;
	}
		
}
